const { defineConfig } = require('@vue/cli-service')
const path = require('path')

module.exports = defineConfig({
  pages: {
    index: {
      entry: 'src/main.js', // 入口文件
      title: '魔数水晶球'
    }
  },
  transpileDependencies: true,
  lintOnSave:false,
  css: {
    loaderOptions: {
      sass: {
        // 这里可以配置全局的 Sass 变量或 mixins
        // additionalData: `@import "@/styles/variables.scss";`
      }
    }
  },
  configureWebpack: {
    resolve: {
      alias: {
        '@': path.resolve(__dirname, 'src')
      }
    }
  },
})
